//
//  HSYProgressSliderView.h
//  高仿暴走斗图
//
//  Created by key on 16/5/10.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HSYProgressSliderViewDelegate <NSObject>

- (void)didSwipeToLastPoint:(CGPoint)point;

@end
@interface HSYProgressSliderView : UIView

@property (nonatomic, assign, readonly) CGFloat sliderMidY;
@property (nonatomic, assign, readonly) CGFloat sliderY;
@property (nonatomic, assign, readonly) CGFloat sliderX;
@property (nonatomic, assign, readonly) CGSize sliderSize;
@property (nonatomic, assign, readwrite) CGFloat percentage;

@property (nonatomic, weak) id<HSYProgressSliderViewDelegate>delegate;
@end
